package com.globallogic.javatraining.liudmyla_shapoval.uni.evaluation;

/*
 * enumerator to evaluate students based on weight of each lesson passed 
 */
public enum LessonWeight {
	LAB(10), LECTURE(1);

	LessonWeight(int weight) {
		this.weight = weight;
	}

	private int weight;

	public int getWeight() {
		return weight;
	}
	
	public static LessonWeight getType(String type) {
		return LessonWeight.valueOf(type);
	}
	
}
